<?php

class Backoffice_Model_FormNewTicket extends Zend_Form
{
    public function __construct(Doctrine\ORM\EntityManager $em, $options = null)
    {
        parent::__construct($options);
        
        $destination = new Zend_Form_Element_Text('destination');
        $destination->setLabel('To')
                    ->setAttrib('style', 'width: 720px;');
        $this->addElement($destination);
        
        $subject = new Zend_Form_Element_Text('subject');
        $subject->setLabel('Subject')
                ->setAttrib('style', 'width: 720px;');
        $this->addElement($subject);
        
        $message = new Zend_Form_Element_Textarea('message');
        $message->setLabel('Message')
                ->setAttrib('class', 'editor');
        $this->addElement($message);
    }
}